3.36 \(\int \csc (a+b x) \sin ^5(2 a+2 b x) \, dx\)

Optimal. Leaf size=46 \[ \frac{32 \sin ^9(a+b x)}{9 b}-\frac{64 \sin ^7(a+b x)}{7 b}+\frac{32 \sin ^5(a+b x)}{5 b} \]

[Out]

(32*Sin[a + b*x]^5)/(5*b) - (64*Sin[a + b*x]^7)/(7*b) + (32*Sin[a + b*x]^9)/(9*b)

________________________________________________________________________________________

Rubi [A]  time = 0.0565101, antiderivative size = 46, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 18, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.167, Rules used = {4288, 2564, 270} \[ \frac{32 \sin ^9(a+b x)}{9 b}-\frac{64 \sin ^7(a+b x)}{7 b}+\frac{32 \sin ^5(a+b x)}{5 b} \]

Antiderivative was successfully verified.

[In]

Int[Csc[a + b*x]*Sin[2*a + 2*b*x]^5,x]

[Out]

(32*Sin[a + b*x]^5)/(5*b) - (64*Sin[a + b*x]^7)/(7*b) + (32*Sin[a + b*x]^9)/(9*b)

Rule 4288

Int[((f_.)*sin[(a_.) + (b_.)*(x_)])^(n_.)*sin[(c_.) + (d_.)*(x_)]^(p_.), x_Symbol] :> Dist[2^p/f^p, Int[Cos[a
+ b*x]^p*(f*Sin[a + b*x])^(n + p), x], x] /; FreeQ[{a, b, c, d, f, n}, x] && EqQ[b*c - a*d, 0] && EqQ[d/b, 2]
&& IntegerQ[p]

Rule 2564

Int[cos[(e_.) + (f_.)*(x_)]^(n_.)*((a_.)*sin[(e_.) + (f_.)*(x_)])^(m_.), x_Symbol] :> Dist[1/(a*f), Subst[Int[
x^m*(1 - x^2/a^2)^((n - 1)/2), x], x, a*Sin[e + f*x]], x] /; FreeQ[{a, e, f, m}, x] && IntegerQ[(n - 1)/2] &&
 !(IntegerQ[(m - 1)/2] && LtQ[0, m, n])

Rule 270

Int[((c_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_.), x_Symbol] :> Int[ExpandIntegrand[(c*x)^m*(a + b*x^n)^p,
 x], x] /; FreeQ[{a, b, c, m, n}, x] && IGtQ[p, 0]

Rubi steps

\begin{align*} \int \csc (a+b x) \sin ^5(2 a+2 b x) \, dx &=32 \int \cos ^5(a+b x) \sin ^4(a+b x) \, dx\\ &=\frac{32 \operatorname{Subst}\left (\int x^4 \left (1-x^2\right )^2 \, dx,x,\sin (a+b x)\right )}{b}\\ &=\frac{32 \operatorname{Subst}\left (\int \left (x^4-2 x^6+x^8\right ) \, dx,x,\sin (a+b x)\right )}{b}\\ &=\frac{32 \sin ^5(a+b x)}{5 b}-\frac{64 \sin ^7(a+b x)}{7 b}+\frac{32 \sin ^9(a+b x)}{9 b}\\ \end{align*}

Mathematica [A]  time = 0.0981108, size = 38, normalized size = 0.83 \[ \frac{32 \left (35 \sin ^9(a+b x)-90 \sin ^7(a+b x)+63 \sin ^5(a+b x)\right )}{315 b} \]

Antiderivative was successfully verified.

[In]

Integrate[Csc[a + b*x]*Sin[2*a + 2*b*x]^5,x]

[Out]

(32*(63*Sin[a + b*x]^5 - 90*Sin[a + b*x]^7 + 35*Sin[a + b*x]^9))/(315*b)

________________________________________________________________________________________

Maple [A]  time = 0.056, size = 69, normalized size = 1.5 \begin{align*} 32\,{\frac{1}{b} \left ( -1/9\, \left ( \sin \left ( bx+a \right ) \right ) ^{3} \left ( \cos \left ( bx+a \right ) \right ) ^{6}-1/21\,\sin \left ( bx+a \right ) \left ( \cos \left ( bx+a \right ) \right ) ^{6}+{\frac{ \left ( 8/3+ \left ( \cos \left ( bx+a \right ) \right ) ^{4}+4/3\, \left ( \cos \left ( bx+a \right ) \right ) ^{2} \right ) \sin \left ( bx+a \right ) }{105}} \right ) } \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(csc(b*x+a)*sin(2*b*x+2*a)^5,x)

[Out]

32/b*(-1/9*sin(b*x+a)^3*cos(b*x+a)^6-1/21*sin(b*x+a)*cos(b*x+a)^6+1/105*(8/3+cos(b*x+a)^4+4/3*cos(b*x+a)^2)*si
n(b*x+a))

________________________________________________________________________________________

Maxima [A]  time = 1.16279, size = 78, normalized size = 1.7 \begin{align*} \frac{35 \, \sin \left (9 \, b x + 9 \, a\right ) + 45 \, \sin \left (7 \, b x + 7 \, a\right ) - 252 \, \sin \left (5 \, b x + 5 \, a\right ) - 420 \, \sin \left (3 \, b x + 3 \, a\right ) + 1890 \, \sin \left (b x + a\right )}{2520 \, b} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(csc(b*x+a)*sin(2*b*x+2*a)^5,x, algorithm="maxima")

[Out]

1/2520*(35*sin(9*b*x + 9*a) + 45*sin(7*b*x + 7*a) - 252*sin(5*b*x + 5*a) - 420*sin(3*b*x + 3*a) + 1890*sin(b*x
 + a))/b

________________________________________________________________________________________

Fricas [A]  time = 0.494995, size = 142, normalized size = 3.09 \begin{align*} \frac{32 \,{\left (35 \, \cos \left (b x + a\right )^{8} - 50 \, \cos \left (b x + a\right )^{6} + 3 \, \cos \left (b x + a\right )^{4} + 4 \, \cos \left (b x + a\right )^{2} + 8\right )} \sin \left (b x + a\right )}{315 \, b} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(csc(b*x+a)*sin(2*b*x+2*a)^5,x, algorithm="fricas")

[Out]

32/315*(35*cos(b*x + a)^8 - 50*cos(b*x + a)^6 + 3*cos(b*x + a)^4 + 4*cos(b*x + a)^2 + 8)*sin(b*x + a)/b

________________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(csc(b*x+a)*sin(2*b*x+2*a)**5,x)

[Out]

Timed out

________________________________________________________________________________________

Giac [A]  time = 1.40332, size = 49, normalized size = 1.07 \begin{align*} \frac{32 \,{\left (35 \, \sin \left (b x + a\right )^{9} - 90 \, \sin \left (b x + a\right )^{7} + 63 \, \sin \left (b x + a\right )^{5}\right )}}{315 \, b} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(csc(b*x+a)*sin(2*b*x+2*a)^5,x, algorithm="giac")

[Out]

32/315*(35*sin(b*x + a)^9 - 90*sin(b*x + a)^7 + 63*sin(b*x + a)^5)/b